The getFormData() function gets the elements array of the form object and calls addParam(), depending on each element's type. getFormData()函数获取form对象的elements数组,并根据每个元素的类型调用addParam()。
Values for array type components can contain zero or one element, and values for set and tree type components can have zero or more elements. 用于数组类型的组件的值可以包含0个或1个元素,用于集合和树类型的组件的值可以包含0到多个元素。
This property contains the name of the type unless it is an array type, in which case it is the array element type. 如果不是数组类型,此属性包含类型的名称;如果是数组类型,则它为数组元素类型。